<?php
/*
 * Author :basanas
 */
session_start();
require_once ('Include/css_head.php');
require_once ('Include/header.php');
require_once ('../BL/BL.php');

if (!isset($_SESSION['uid']) || $_SESSION['uid'] == -1) {
    UI_registerError('msg_warning', "You are not logged in.");
    header('Location: login.php');
    exit(0);
}

?>

<div id="sideBar" style="float:left"></div>

<div id="profileContent">
<div id="editPersonalInfo">
    <h3>Personal info</h3>

    <h3>Send Email</h3>
</div>
</div>

<script type="text/javascript">
        $.ajaxSetup ({ cache: false });
        var ajax_load = "<img src='images/load.gif' alt='loading...' />";
        $("#sideBar").load($("#sideBar").html(ajax_load).load('profileSideBar.php'));
</script>

<?php
require_once ('Include/footer.php');
?>